#ifndef DIARY_HPP
#define DIARY_HPP
#include "text_editor.hpp"
#include <string>
#include <vector>
using namespace std;

struct Sentence{
    SDL_Color color_;
    string text_;
};

class Diary{
public:
    Diary() = default;
    void AddText(string text, SDL_Color color = {255, 255, 255});
    Sentence GetTexts(int n);
    void Draw(int x, int y);
private:
    vector<Sentence> _sentences;
};

extern Diary diary;

#endif
